package com.fr.web.core;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class MailAuthenticator extends Authenticator
{
  private String userName = "";
  private String password = "";

  public MailAuthenticator(String paramString1, String paramString2)
  {
    this.userName = paramString1;
    this.password = paramString2;
  }

  public PasswordAuthentication getPasswordAuthentication()
  {
    return new PasswordAuthentication(this.userName, this.password);
  }
}